// DxDevice.h
//

#ifndef _PR_DXDEVICE_H
#define _PR_DXDEVICE_H

extern PRENDER_API LPDIRECT3D9 PR_Direct3D;
extern PRENDER_API LPDIRECT3DDEVICE9 PR_D3D_Device;
extern PRENDER_API LPD3DXSPRITE PR_DxSprite;

PRENDER_API void PRRelease(void);
PRENDER_API void PRPresent(void);
PRENDER_API PDRESULT PRInitDxDevice(HWND hWnd, PCSettings settings);
PRENDER_API PDRESULT PRInitDxSprites(void);
PRENDER_API void PRGetAdapterMode(PCSettings settings, D3DDISPLAYMODE* adaptermode);

#endif